package com.finance.cooperate.dao.repository.primary;

import com.finance.cooperate.dao.entity.primary.CrcScores;
import com.finance.cooperate.dao.support.jpa.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * @InterfaceName CrcScoresRepository
 * @Description 征信分数信息仓库
 * @Author shen
 * @Date 2023/8/6 21:16
 * @Modify ...
 */
@Repository
public interface CrcScoresRepository extends BaseRepository<CrcScores, Long> {


    /**
     * @Author shen
     * @Description 根据申请Id查询征信分数
     * @Date 17:46 2023/8/10
     * @Param [applyId]
     * @return com.finance.cooperate.dao.entity.primary.CrcScores
     **/
    CrcScores findFirstByApplyIdOrderByCreateTimeDesc(String applyId);

}
